package org.jeecg.websocket;

import org.jeecg.common.system.vo.LoginUser;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import javax.naming.AuthenticationException;

@FeignClient("CIM-SSO")
public interface IShiroRealm {
    @RequestMapping(value = "/api/sso/checkUserToken",method = RequestMethod.POST)
    LoginUser checkUserTokenIsEffect(@RequestParam("token") String token) throws AuthenticationException;
}
